from ultralytics import YOLO

# Load the exported RKNN model
rknn_model = YOLO("/root/ros_ws/src/OrbbecSDK_ROS1/scripts/merge_yolo11n_seg_rknn_model",task="segment")

# Run inference
results = rknn_model("/root/ros_ws/src/OrbbecSDK_ROS1/scripts/data/Color/st.jpg")
print(results[0].masks.xy[0])